package com.mgy.im.standard;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * xxx
 *
 * @author maguoyong
 * @date 2020/6/14
 */
@ConditionalOnMissingBean(NettyServerExporter.class)
@Configuration
public class NettyWebSocketSelector {

    @Bean
    public NettyServerExporter serverEndpointExporter() {
        return new NettyServerExporter();
    }
}
